import { IFeidaoAiBrowserComponent } from '@dfeidao/atom-web/interfaces';
import get from '@dfeidao/atom-web/local/get';
import fire_component_msg from '@dfeidao/atom-web/msg/fire';
// import fire from '@dfeidao/atom-web/msg/fire';
import error from '@dfeidao/atom-web/msgbox/error';
// import success from '@dfeidao/atom-web/msgbox/success';
export default async function a008(fd: IFeidaoAiBrowserComponent) {
	// 修改角色系统参数弹窗
	// const id = fd.data.w_id;
	const id = get(fd, 'w_id');
	if (!id) {
		error('请选择一条数据');
		// fire('zjc-000001', 'ec-001', 'fail', '请选择一条数据');
		return;
	}
	fire_component_msg('zj-000008', 'ec-001', id);
}
